package com.dfs.parent.gateway.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Description 放行白名单配置
 * @Author dahong
 * @Date 2024/2/1 01:13
 */
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "dfs.source")
public class WhitelistUrlProperties {
    /**
     * 放行白名单配置，网关不校验此处的白名单
     */
    private List<String> whiteUrls = new ArrayList<>();
}
